﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HoangPhap.Bussiness
{
    public class CharityProgramImageTranslation
    {
        public int DeleteById(int id)
        {
            return new Data.HoangPhapDataContext().CallCharityProgramImageTranslationsDeleteById(id);
        }

        public int DeleteDynamic(System.String whereCondition)
        {
            return new Data.HoangPhapDataContext().CallCharityProgramImageTranslationsDeleteDynamic(whereCondition);
        }

        public int Insert(System.String name, System.Int32 languageId, System.Int64 charityProgramImageEntityId, ref System.Int64 id)
        {
            return new Data.HoangPhapDataContext().CallCharityProgramImageTranslationsInsert(name, languageId, charityProgramImageEntityId, ref  id);
        }

        public int InsertUpdate(System.Int32 id, System.String name, System.Int32 languageId, System.Int64 charityProgramImageEntityId)
        {
            return new Data.HoangPhapDataContext().CallCharityProgramImageTranslationsInsertUpdate(id, name, languageId, charityProgramImageEntityId);
        }

        public int Update(System.Int32 id, System.String name, System.Int32 languageId, System.Int64 charityProgramImageEntityId)
        {
            return new Data.HoangPhapDataContext().CallCharityProgramImageTranslationsUpdate(id, name, languageId, charityProgramImageEntityId);
        }
    }
}
